package com.ll.base.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author shzz
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class NameDTO extends TenantIdDTO{

    @NotNull(message = "Name不能为null")
    @ApiModelProperty(value = "name", example = "张三")
    private String name;

}
